html,
body {
  width: 100%;
  height: 100%;
}


:root {
  --bgImg: url(../images/bg.png);
  --carImg1: url(../images/carousel1.png);
  --carImg2: url(../images/carousel2.png);
  --carImg3: url(../images/carousel3.png);

}
#app {
  position: relative;
  width: 100%;
  height: 100%;
  background: url(../images/bg.png);
  background: var(--bgImg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  .el-form-item.is-error .el-input__inner {
    border-color: #DCE0E7;
  }
  .el-input__inner:focus{
    border-color: #55BC8A
  }

  .login-logo{
    position: fixed;
    left: 46px;
    top: 59px;
    width: 313px;
    height: 47px;
    img{
      max-width: 100%;
      max-height: 100%;
    }
  }
  .login-carousel {
    position: fixed;
    top: 17.9vh;
    left: 10.36vw;
    width: 838px;
    .el-carousel__container {
      margin-bottom: 52px;

      .el-carousel__item {
        .carousel-title {
          margin-top: 11px;
          margin-bottom: 12px;
          height: 40px;
          opacity: 1;
          font-size: 28px;
          font-family: SourceHanSansCN, SourceHanSansCN-Medium;
          font-weight: 500;
          text-align: center;
          color: #4f6a5d;
          line-height: 40px;
        }

        .carousel-text {
          height: 26px;
          opacity: 1;
          font-size: 18px;
          font-family: SourceHanSansCN, SourceHanSansCN-Medium;
          font-weight: 500;
          text-align: center;
          color: #759484;
          line-height: 26px;
        }
        &:nth-child(1) {
           .carousel-img {
             width: 100%;
             height: 542px;
             background:url(../images/carousel1.png);
             background: var(--carImg1);
             background-size: cover;
             background-repeat: no-repeat;
             background-position: center;
           }
         }
        &:nth-child(2) {
          .carousel-img {
            width: 100%;
            height: 542px;
            background: url(../images/carousel2.png);
            background: var(--carImg2);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
          }
        }
        &:nth-child(3) {
          .carousel-img {
            width: 100%;
            height: 542px;
            background: url(../images/carousel3.png);
            background: var(--carImg3);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
          }
        }
      }
    }
    .el-carousel__indicators--outside {
      button {
        background-color: #A4CFBE;
        width: 58px;
        height: 5px;
        opacity: 1;
      }
      .el-carousel__indicator--horizontal {
         padding: 12px;


         &.el-carousel__indicator.is-active button {
           background-color: #fff;
         }
       }
    }


  }


  .login-wrap {
    position: fixed;
    top: 50%;
    right: 14%;
    transform: translateY(-50%);
    width: 520px;
    height: 640px;
    // height: 588px;
    padding-top: 64px;
    background: #f6faf7;
    border-radius: 16px;
    box-shadow: 0px 8px 39px 0px rgba(55,141,99,0.32);

    .tip {
      width: 96px;
      height: 33px;
      opacity: 1;
      font-size: 24px;
      font-family: PingFangSC, PingFangSC-Semibold;
      font-weight: 600;
      text-align: center;
      color: #55bc8a;
      line-height: 33px;
      margin: 0 auto;
    }

    // 标题
    .title {
      width: 366px;
      // height: 40px;
      line-height: 40px;
      font-size: 24px;
      font-family: SourceHanSansCN;
      font-weight: 500;
      color: #169AFF;
      margin: 0 auto;
      margin-top: 50px;
      text-align: center;
      overflow: hidden;
      text-overflow: -o-ellipsis-lastline;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;

      .img {
        max-width: 100%;
        max-height: 100%;
      }
    }

    .content {
      width: 400px;
      margin: 35px auto 0;
      position: relative;

      .lg-form .el-form-item__label {
        font-size: 14px;
        font-weight: bold;
        color: #575A68;
        padding-bottom: 0;
      }

      .msg-b {
        position: relative;
        left: 0;
        /* top: -28px; */
        // top: -24px;
        bottom: 285px;
        bottom: 100%;
        width: 100%;
        /* height: 30px; */
        /* line-height: 30px; */
        padding: 4px 8px;
        background-color: #fdf6ec;
        /* border-color: #faecd8; */
        color: #e6a23c;
        font-size: 14px;

        .el-icon-warning {
          margin-right: 5px;
          vertical-align: middle
        }
      }

      .el-form {
        margin-bottom: 48px;
        .el-form-item {
          margin-bottom: 18px;
        }

        .el-form-item:last-of-type {
          margin-bottom: 10px;
        }

        .el-input .el-input__inner {
          height: 50px;
          line-height: 50px;
          color: #575962;
          font-size: 18px;
          // padding-left: 50px !important;
          // border: none;

          &:-webkit-autofill {
            -webkit-text-fill-color: #575962 !important;
            -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
            background-color: transparent;
            background-image: none;
            transition: background-color 50000s ease-in-out 0s;
            /*背景色透明  生效时长  过渡效果  启用时延迟的时间*/
          }

          &::-webkit-input-placeholder {
            font-size: 14px;
            font-family: Source Han Sans CN;
            font-weight: 400;
            color: #C9CDD3;
          }
        }

        .el-input .el-input__prefix {
          line-height: 50px;
          left: 15px;
        }

        .el-input .el-input-group__append {
          width: 128px;
          height: 50px;
          cursor: pointer;
          padding: 0 !important;

        }

        .el-input {
          // margin-bottom: 15px;

          .code-image {
            width: 100%;
            height: 100%;
          }
        }


        // 忘记密码
        .forget-pwd{
          display: block;
          text-align: right;
          color: #909399;
          font-size: 14px;
          margin-bottom: 36px;
          width: 60px;
          margin-left: calc(100% - 60px);
          &:hover{
            color: #3699FF;
          }
        }
      }

       // 登录按钮
      .lg-btn {
        width: 400px;
        height: 50px;
        background: #55BC8A;
        border-radius: 4px;
        // margin-top: 36px;
        font-weight: 400;
        color: #FFFFFF;
        font-size: 18px;
        border: none;
        span{
          letter-spacing: 5px;
        }
      }
    }
  }

  // 页脚
  .page-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    font-size: 14px;
    color: #fff;
    text-align: center;
  }
}

/* 新密码等级 */
.pwd-strength-box .level-box {
  display: inline-block;
  vertical-align: middle;
  width: 44px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  text-align: center;
  background: #eeeeee;
}

.el-dialog__headerbtn {
  top: 12px;
}